import * as types from '../actionTypes'

export const toggleSiderBar = () => {
  return {
    type: types.APP_TOGGLE_SIDEBAR
  }
}

export function switchMenu(currentMenuList) {
  return {
    type: types.SWITCH_MENU,
    currentMenuList
  }
}
